import 'package:flutter/cupertino.dart';

class RecommendTitle extends StatefulWidget {
  const RecommendTitle({Key? key}) : super(key: key);

  @override
  State<RecommendTitle> createState() => _RecommendTitleState();
}

class _RecommendTitleState extends State<RecommendTitle> {
  @override
  Widget build(BuildContext context) {
    return Container(
      margin: const EdgeInsets.only(top: 16, bottom: 16),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Container(
            margin: const EdgeInsets.only(right: 8),
            child: Image.network(
              'http://gw.alicdn.com/mt/TB1k.qTgkvoK1RjSZPfXXXPKFXa-64-64.png',
              width: 20,
              height: 20,
            ),
          ),
          const Text(
            '为你推荐',
            style: TextStyle(fontSize: 16.0, color: Color(0xFF000000), fontWeight: FontWeight.w500, height: 1.2),
          )
        ],
      ),
    );
  }

}
